package com.powernode.dataservice.service;

import com.powernode.api.model.FinanceAccount;
import com.powernode.api.service.FinanceService;
import com.powernode.dataservice.mapper.FinanceAccountMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService(interfaceClass = FinanceService.class,version = "1.0.0")
public class FinanceServiceImpl implements FinanceService {

    @Autowired
    private FinanceAccountMapper financeAccountMapper;

    @Override
    public FinanceAccount queryByUid(Integer uid) {

        return financeAccountMapper.selectByUid(uid);
    }
}
